package com.qiall.omsserver.service.dubbo;

import com.qiall.oms.ability.TestService;
import com.qiall.oms.ability.request.TestRequest;
import com.qiall.oms.ability.request.TestResponse;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Component;

@DubboService
@Component
public class TestServiceImpl implements TestService {
    @Override
    public TestResponse test(TestRequest testRequest) {
        TestResponse testResponse = new TestResponse();
        testResponse.setPassword(testRequest.getPassword());
        testResponse.setUserName(testRequest.getUserName());
        return testResponse;

    }
}
